/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2024-03-03
 * Time: 15:51
 */
public class Test {
    public static void main(String[] args) {
        MyArray<Integer> myArray=new MyArray<>();
        myArray.setArray(0,1);
        myArray.setArray(1,0);
        int val= myArray.getVal(1);
        System.out.println("=================");
        Array array=new Array();
        array.setArr(0,1);
        array.setArr(1,2);
        array.setArr(2,"hello");
        String str=(String) array.getArray(2);
        System.out.println(str);
        int val2=(int)array.getArray(1);
        System.out.println(val2);

    }
}
